<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>css border制作小三角（兼容IE6）</title>
        <style>
            .triangle {display:inline-block;width:0;height:0;overflow:hidden;line-height:0;font-size:0;
            vertical-align:middle;
            border-right:7px solid #000fff;
            border-left:0 none;
            border-top:7px solid transparent;
            border-bottom:7px solid transparent;
            _color:#FF3FFF;
            _filter:chroma(color=#FF3FFF);
            }
            .triangle-self{
                width: 0;
                height: 0;
                border-top:7px solid #0ff;
                border-left:7px solid transparent;
                border-right:7px solid transparent;
            }
        </style>
    </head>
    <body>
        <h1>css border制作小三角（兼容IE6）</h1>
        <p>来源:<a href="http://caibaojian.com/popular-css-snippets.html">http://caibaojian.com/popular-css-snippets.html</a></p>
        <div class="triangle"></div>
        <!-- <div class="triangle-self"></div> -->
    </body>
</html>